Carbon


CloseComponentResFile

Header: Components.h Carbon status: Supported

Closes the resource file that your component opened previously with the OpenComponentResFile function.

OSErr CloseComponentResFile (
    SInt16 refnum
);
refnum

The reference number that identifies the resource file to be closed. Your component obtains this value from the OpenComponentResFile function. Your component must close any open resource files before returning to the calling application.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)